package com.lz.autotest.project.testmanage.infmanage.domain;

import com.lz.autotest.project.testmanage.reportmanage.domain.ReportItem;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * 接口表
 *
 * @author lz
 */
@Data
@Getter
@Setter
public class SstInf {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String snowflakeId;

    private String infId;

    private String infCode;

    /**
     * 父部门ID
     */
    private String parentId;


    /**
     * 祖级列表
     */
    private String ancestors;
    private String leader;
    /**
     * 部门名称
     */
    private String infName;
    private String infType;

    /**
     * 负责人
     */
    private String infInner;
    private String infEnv;

    private String infProperty;
    private String result;
    private String requestTime;
    private String responseTime;
    /**
     * 负责人
     */
    private String infRealEnv;
    /**
     * 负责人
     */
    private String infUrl;

    private String infFullUrl;

    /**
     *
     */
    private String infRequest;

    /**
     *
     */
    private String infResponse;

    private String infMethod;
    private String contentType;
    private String authName;
    private String authValue;
    private String paramType;

    private int variableSwitch = 0;
    private String variableType;
    private String variableName;
    private String variableEl;
    private String variableCustom;

    private boolean mcs;
    private int concurrency;
    private int round;
    private String timeOut;
    private double consumeTime;

    /**
     * 显示顺序
     */
    private String orderNum;
    /**
     * 状态:1正常,0停用
     */
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag = "0";
    /**
     * 父部门名称
     */
    private String parentName;
    private String searchValue;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */

    private String updateTime;
    /**
     * 备注
     */
    private String remark;
    private String reportId;

    private String reportType;
    private String reportName;
    private String reportVersion;

    private double maxConsumeTime;
    private double minConsumeTime;
    private double avgConsumeTime;
    private double count;
    private double successCount;
    private double failCount;
    private boolean success;
    private String path;
    private boolean recordVersion;
    private String compareResult;
    private String compareMsg;
    private List<ReportItem> resultList;
    private ReportItem resultView;
    /**
     *
     */
    private List<SstInf> children = new ArrayList<SstInf>();


}
